package com.weixin.project.Dao;

import com.weixin.project.Common.Enum.UserType;
import com.weixin.project.Entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, Integer> {
    User getUserByOpenId(String openId);
    User getUserByUserId(String userId);
    User getUsersByType(UserType type);
}
